package com.itheima.health.dao;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.User;
import tk.mybatis.mapper.common.Mapper;
public interface UserDao extends Mapper<User> {

    User findByName(String username);

    Page<User> findPage(String queryString);

    User findById(Integer id);

    int insertUser(User user);

    int deleteByUserId(Integer id);
}
